3.10.92 \(\int \frac {(c x^2)^p (a+b x)^{-2 p}}{x^2} \, dx\) [992]

Optimal. Leaf size=33 \[ -\frac {\left (c x^2\right )^p (a+b x)^{1-2 p}}{a (1-2 p) x} \]

[Out]

-(c*x^2)^p*(b*x+a)^(1-2*p)/a/(1-2*p)/x

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 37} \begin {gather*} -\frac {\left (c x^2\right )^p (a+b x)^{1-2 p}}{a (1-2 p) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c*x^2)^p/(x^2*(a + b*x)^(2*p)),x]

[Out]

-(((c*x^2)^p*(a + b*x)^(1 - 2*p))/(a*(1 - 2*p)*x))

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rubi steps

\begin {align*} \int \frac {\left (c x^2\right )^p (a+b x)^{-2 p}}{x^2} \, dx &=\left (x^{-2 p} \left (c x^2\right )^p\right ) \int x^{-2+2 p} (a+b x)^{-2 p} \, dx\\ &=-\frac {\left (c x^2\right )^p (a+b x)^{1-2 p}}{a (1-2 p) x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 32, normalized size = 0.97 \begin {gather*} \frac {\left (c x^2\right )^p (a+b x)^{1-2 p}}{a (-1+2 p) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c*x^2)^p/(x^2*(a + b*x)^(2*p)),x]

[Out]

((c*x^2)^p*(a + b*x)^(1 - 2*p))/(a*(-1 + 2*p)*x)

________________________________________________________________________________________

Maple [A]
time = 0.15, size = 38, normalized size = 1.15

method result size
gosper \(\frac {\left (b x +a \right ) \left (c \,x^{2}\right )^{p} \left (b x +a \right )^{-2 p}}{x a \left (2 p -1\right )}\) \(38\)
risch \(\frac {\left (b x +a \right ) \left (b x +a \right )^{-2 p} {\mathrm e}^{\frac {p \left (-i \pi \mathrm {csgn}\left (i x^{2}\right )^{3}+2 i \pi \mathrm {csgn}\left (i x^{2}\right )^{2} \mathrm {csgn}\left (i x \right )-i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )^{2}+i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i c \,x^{2}\right )^{2}-i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i c \,x^{2}\right ) \mathrm {csgn}\left (i c \right )-i \pi \mathrm {csgn}\left (i c \,x^{2}\right )^{3}+i \pi \mathrm {csgn}\left (i c \,x^{2}\right )^{2} \mathrm {csgn}\left (i c \right )+2 \ln \left (c \right )+4 \ln \left (x \right )\right )}{2}}}{\left (2 p -1\right ) a x}\) \(171\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2)^p/x^2/((b*x+a)^(2*p)),x,method=_RETURNVERBOSE)

[Out]

1/x*(b*x+a)/a/(2*p-1)*(c*x^2)^p/((b*x+a)^(2*p))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2)^p/x^2/((b*x+a)^(2*p)),x, algorithm="maxima")

[Out]

integrate((c*x^2)^p/((b*x + a)^(2*p)*x^2), x)

________________________________________________________________________________________

Fricas [A]
time = 0.57, size = 37, normalized size = 1.12 \begin {gather*} \frac {{\left (b x + a\right )} \left (c x^{2}\right )^{p}}{{\left (2 \, a p - a\right )} {\left (b x + a\right )}^{2 \, p} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2)^p/x^2/((b*x+a)^(2*p)),x, algorithm="fricas")

[Out]

(b*x + a)*(c*x^2)^p/((2*a*p - a)*(b*x + a)^(2*p)*x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} - \frac {\sqrt {c x^{2}}}{b x^{2}} & \text {for}\: a = 0 \wedge p = \frac {1}{2} \\- \frac {\left (b x\right )^{- 2 p} \left (c x^{2}\right )^{p}}{x} & \text {for}\: a = 0 \\\int \frac {\sqrt {c x^{2}}}{x^{2} \left (a + b x\right )}\, dx & \text {for}\: p = \frac {1}{2} \\\frac {a \left (c x^{2}\right )^{p}}{2 a p x \left (a + b x\right )^{2 p} - a x \left (a + b x\right )^{2 p}} + \frac {b x \left (c x^{2}\right )^{p}}{2 a p x \left (a + b x\right )^{2 p} - a x \left (a + b x\right )^{2 p}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2)**p/x**2/((b*x+a)**(2*p)),x)

[Out]

Piecewise((-sqrt(c*x**2)/(b*x**2), Eq(a, 0) & Eq(p, 1/2)), (-(c*x**2)**p/(x*(b*x)**(2*p)), Eq(a, 0)), (Integra
l(sqrt(c*x**2)/(x**2*(a + b*x)), x), Eq(p, 1/2)), (a*(c*x**2)**p/(2*a*p*x*(a + b*x)**(2*p) - a*x*(a + b*x)**(2
*p)) + b*x*(c*x**2)**p/(2*a*p*x*(a + b*x)**(2*p) - a*x*(a + b*x)**(2*p)), True))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2)^p/x^2/((b*x+a)^(2*p)),x, algorithm="giac")

[Out]

integrate((c*x^2)^p/((b*x + a)^(2*p)*x^2), x)

________________________________________________________________________________________

Mupad [B]
time = 0.24, size = 32, normalized size = 0.97 \begin {gather*} \frac {{\left (c\,x^2\right )}^p\,{\left (a+b\,x\right )}^{1-2\,p}}{a\,x\,\left (2\,p-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2)^p/(x^2*(a + b*x)^(2*p)),x)

[Out]

((c*x^2)^p*(a + b*x)^(1 - 2*p))/(a*x*(2*p - 1))

________________________________________________________________________________________